package com.example.travel.mapper;

import com.example.travel.entity.*;
import com.example.travel.entity.bo.OrderformBO;
import com.example.travel.entity.dto.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminSelectMapper {

    int queryRegNumber();

    List<User> queryUserPage(UserDTO userDTO);

    List<OrderformBO> queryOrderForm(OrderformDTO orderformDTO);

    List<Hotel> queryHotelInformation(HotelDTO hotelDTO);

    List<OrderformBO> queryScenicOrderForm(OrderformDTO orderformDTO);

    List<Scenic> queryScenicInformation(ScenicDTO scenicDTO);

    List<ScenicImg> queryScenicBannerInformation();

    List<Festival> queryFestivalInformation(FestivalDTO festivalDTO);

    int selectHotelOrderNumber();

    int selectScenicOrderNumber();

    List<Leave> queryLeave(LeaveDTO leaveDTO);
}
